package cn.lili.controller.feign;

import cn.lili.modules.search.client.EsGoodsSearchClient;
import cn.lili.modules.search.entity.dos.EsGoodsIndex;
import cn.lili.modules.search.entity.dos.EsGoodsRelatedInfo;
import cn.lili.modules.search.entity.dto.CustomSearchParams;
import cn.lili.modules.search.service.EsGoodsSearchService;
import lombok.RequiredArgsConstructor;
import org.springframework.data.elasticsearch.core.SearchPage;
import org.springframework.web.bind.annotation.RestController;

/**
 * es 商品搜索实现
 *
 * @author liushuai(liushuai711 @ gmail.com)
 * @version v4.0
 * @Description:
 * @since 2023/3/27 16:07
 */
@RestController
@RequiredArgsConstructor
public class EsGoodsSearchFeignController implements EsGoodsSearchClient {


    private final EsGoodsSearchService esGoodsSearchService;


    @Override
    public SearchPage<EsGoodsIndex> customSearch(CustomSearchParams customSearchParams) {
        return null;
    }

    @Override
    public EsGoodsRelatedInfo related(CustomSearchParams customSearchParams) {
        return null;
    }
}
